package com.woniu.zsd.shopping.dao;

import com.woniu.zsd.shopping.dto.ProductStatisticsDto;
import com.woniu.zsd.shopping.model.ProductOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangtao
 * @since 2025年02月18日
 */
@Mapper
public interface ProductOrderMapper extends BaseMapper<ProductOrder> {

    ProductStatisticsDto productStatistics(@Param("startOfDay") LocalDateTime startOfDay,@Param("endOfDay") LocalDateTime endOfDay);

}
